package com.vegetable.modules.entity.finance.vo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品销售分页统计VO
 */
@Data
@ApiModel(value = "商品销售分页统计VO", description = "商品销售分页统计数据及总销售统计")
public class CommoditySalesPageVO {

    @ApiModelProperty(value = "分页数据")
    private IPage<CommoditySalesVO> pageData;

    @ApiModelProperty(value = "总销售金额")
    private BigDecimal totalSalesAmount;

    @ApiModelProperty(value = "总销售重量")
    private BigDecimal totalWeight;

    @ApiModelProperty(value = "总销售数量")
    private BigDecimal totalQuantity;

    @ApiModelProperty(value = "总订单数")
    private Long orderCount;
}